﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Data_Structures_and_Algorithms.linear_list
{
    /// <summary>
    /// 链表的节点
    /// </summary>
    public class LinearNode
    {
        /// <summary>
        /// 数据元素本身
        /// </summary>
        public object Data { get; set; }
        /// <summary>
        /// 指向直接后继元素的指针
        /// </summary>
        public LinearNode Next { get; set; }
        public LinearNode() { }
        public LinearNode(object data) {
            this.Data = data;
        }
    }
}
